<template>
  <GwContent class="thin NotFound">
    <div class="NotFound__image">
      <Rocket fly :img="require('@/assets/logo/gwzh.png')" />
    </div>
    <div class="NotFound__describe">
      <div class="inner">
        <p><strong>404</strong> | Oops! 页面被送入外太空</p>
        <el-button type="primary" @click="$router.push('/')">返回首页</el-button>
      </div>
    </div>
  </GwContent>
</template>

<script>
import Rocket from './Rocket'

export default {
  name: 'NotFound',
  components: {
    Rocket
  }
}
</script>

<style lang="scss">
.NotFound {
  display: flex;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}

.NotFound__image {
  flex: 1;
}

.NotFound__describe {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  color: #2c3e50;

  p {
    margin-bottom: 20px;

    strong {
      padding: 0 15px;
      font-size: 18px;
    }
  }
}

.ui-dark-mode {
  .NotFound__describe p {
    color: rgba(255,255,255, .6);
  }
}

@media screen and (max-width: 767px) {
  .NotFound__image {
    display: none;
  }

  .NotFound__describe {
    text-align: center;
  }
}

</style>

